import { request } from '../utils/axios.js'

// 获取banner列表
export const getBanner = (data) => request.post('/api/cpc/v1/banner/list', data)

// 查询首页布局
export const getHomeLayout = () => request.post('/api/cpc/v1/layout/home');

// 新游列表
export const getGameNew = (data) => request.post('/api/cpc/v1/game/new', data)

// 本周最热游戏
export const getWeekHot = (data) => request.post('/api/cpc/v1/game/week-hot', data);

// 免账号游戏
export const getFreeAccount = (data) => request.post('/api/cpc/v1/game/free-account', data);

// 最近在玩游戏列表
export const getRecentGames = (data) => request.post('/api/cpc/v1/game/recent', data)

